Bugfix: Enabling "invite people" for password-protected folder/file

Enables selecting "invite people" for password-protected folder/file.
Selecting this permission will drop password protection and expiration date.

https://github.com/owncloud/web/pull/9931
https://github.com/owncloud/web/issues/9922
